package com.demo.starter.config;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.context.annotation.Configuration;

/**
 * @author cyj
 **/
@Slf4j
@Configuration
@MapperScan("com.demo.starter.dao")
public class InitConfig implements InitializingBean {

    @Override
    public void afterPropertiesSet() throws Exception {
      log.info("InitConfig初始化");
    }
}
